<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>接口测试平台⾸页</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script>
	function deleteGoods(pid) {
		if (confirm("是否删除数据")) {
			location.href = "TestCaseServlet.do?action=TestCaseDelete&id=" + id;
			console.log(id);
		}
	}
</script>

</head>
<body>

	<form method="post" action="/homepage.do?" id="pageForm">
		<input type="hidden" name="pn" id="pageNo" value="1" />
		<div class="wrap">
			<div class="sale">
				<h1 class="lf">接口测试平台</h1>
				<div class="logout right">
					<a href="user.do?act=logout" title="注销">注销</a>
				</div>
			</div>
			<div class="forms">
				<input type="button" value="添加"
					class="spbg buttombg f14  sale-buttom buttomb"
					onclick="window.location.href='productAdd.jsp'" /> <input
					type="hidden" name="action" value="ProductRead">
			</div>
			<div class="items">
				<ul class="rows even strong">
					<li>名称</li>
					<li>测试方法</li>
					<li>发起人</li>
					<li class="borderno">操作</li>
				</ul>

				<ul class="rows">
					<li><%=testCase.getTitle()%></li>
					<li>￥<%=testCase.getMethod()%></li>
					<li><%=testCase.getUsername()%></li>
					<li class="borderno red"><a
						href="/homepage.do?action=gotoUpdate&id=<%=testCase.getId()%>">修改</a>|
						<a href="javaScript:delTestCase(<%=testCase.getId()%>);">删除</a></li>
				</ul>


			</div>
		</div>
	</form>





</body>
</html>